package com.vhall.component.dao.room;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vhall.component.entity.room.entity.InvestRefEntity;
import com.vhall.component.entity.room.entity.InvestRefRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xing.wang
 * @description 针对表【invest_ref_relation(投资依据关联表)】的数据库操作Mapper
 * @createDate 2023-08-08 09:53:58
 * @Entity com.vhall.component.entity.room.entity.InvestRefRelationEntity
 */
@Repository
@Mapper
public interface InvestRefRelationMapper extends BaseMapper<InvestRefRelationEntity> {

    /**
     * 批量查询，获取投资依据信息
     */
    List<InvestRefEntity> selectDetailList(@Param("ilidList") List<Integer> ilidList);

    /**
     * 批量获取投资依据-使用草稿 id 组
     * @param roomDraftRecordIds
     * @return
     */
    List<InvestRefEntity> selectDetailDraftList(@Param("roomDraftRecordIds") List<Integer> roomDraftRecordIds);
}




